package com.fjb.pojo.product;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 产品属性
 * </p>
 *
 * @author hemiao
 * @since 2020-02-02
 */
public class ProductAttribute implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 主账号id
     */
    private Integer mainUserId;

    /**
     * 产品id
     */
    private Integer productId;

    /**
     * 属性类型  1标题   2、属性
     */
    private Integer attrType;

    /**
     * 级别   1、2、3、4
     */
    private Integer attrLevel;

    private String attrTitleCode;

    private String attrCodeOne;

    private String attrCodeTwo;

    /**
     * 属性名称
     */
    private String attrName;

    private Integer userFileId;

    private Integer createUserId;

    private LocalDateTime createTime;

    private Integer updateUserId;

    private LocalDateTime updateTime;

    /**
     * 备注
     */
    private String remark;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getMainUserId() {
        return mainUserId;
    }

    public void setMainUserId(Integer mainUserId) {
        this.mainUserId = mainUserId;
    }
    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }
    public Integer getAttrType() {
        return attrType;
    }

    public void setAttrType(Integer attrType) {
        this.attrType = attrType;
    }
    public Integer getAttrLevel() {
        return attrLevel;
    }

    public void setAttrLevel(Integer attrLevel) {
        this.attrLevel = attrLevel;
    }
    public String getAttrTitleCode() {
        return attrTitleCode;
    }

    public void setAttrTitleCode(String attrTitleCode) {
        this.attrTitleCode = attrTitleCode;
    }
    public String getAttrCodeOne() {
        return attrCodeOne;
    }

    public void setAttrCodeOne(String attrCodeOne) {
        this.attrCodeOne = attrCodeOne;
    }
    public String getAttrCodeTwo() {
        return attrCodeTwo;
    }

    public void setAttrCodeTwo(String attrCodeTwo) {
        this.attrCodeTwo = attrCodeTwo;
    }
    public String getAttrName() {
        return attrName;
    }

    public void setAttrName(String attrName) {
        this.attrName = attrName;
    }
    public Integer getUserFileId() {
        return userFileId;
    }

    public void setUserFileId(Integer userFileId) {
        this.userFileId = userFileId;
    }
    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public Integer getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Integer updateUserId) {
        this.updateUserId = updateUserId;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "ProductAttribute{" +
        "id=" + id +
        ", mainUserId=" + mainUserId +
        ", productId=" + productId +
        ", attrType=" + attrType +
        ", attrLevel=" + attrLevel +
        ", attrTitleCode=" + attrTitleCode +
        ", attrCodeOne=" + attrCodeOne +
        ", attrCodeTwo=" + attrCodeTwo +
        ", attrName=" + attrName +
        ", userFileId=" + userFileId +
        ", createUserId=" + createUserId +
        ", createTime=" + createTime +
        ", updateUserId=" + updateUserId +
        ", updateTime=" + updateTime +
        ", remark=" + remark +
        "}";
    }
}
